FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER lao4ji@163.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /mybatis-springboot

WORKDIR /mybatis-springboot

EXPOSE 8888

ADD springboot-mybatis.jar app.jar

CMD java -Djava.security.egd=file:/dev/./urandom -jar app.jar
